package cn.tedu.submarine;


import javax.swing.*;

//侦查潜艇类
public class ObserveSubmarine extends  SeaObject implements EnemyScore{

    //构造方法
    public ObserveSubmarine(){
        super(63,19);
    }
    @Override
    public void move() {
        x += speed; //x+(向右)
    }

    @Override
    public ImageIcon getImage() {
        return Images.obsersubm; //返回侦察潜艇图片
    }

    @Override
    public int getScore() {
        return 10; //打掉侦察潜艇，得10分
    }
}
